package cn.com.dealme.error;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;


public class ErrMsgManager {
	

	private static Properties errMsg = new Properties();
	
	public static void load(InputStream is) throws IOException {
		errMsg.load(is);
	}
	
	public static String getResource(String key) {
		return errMsg.getProperty(key);
	}
}
